package com.efast.standalone;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

import com.efast.standalone.util.SpringContextUtils;


@SpringBootApplication
@EnableScheduling
@EnableConfigurationProperties
@ComponentScan(basePackages = {"com.efast.standalone"})
//@MapperScan("com.efast.standalone.dao.mapper")
public class Applicaton {

	public static void main(String[] args) {
		SpringApplication.run(Applicaton.class, args);
	}
	
	@Bean
	public SpringContextUtils springContextUtils(){
		return new SpringContextUtils();
	}

}
